/**
 * @file index
 * @author liaoxuezhi@baidu.com
 */
/* eslint fecs-indent: [0, "space", 2, 2] */

import {combineReducers} from 'redux';
import {render, getReducers, renderChildren, getSchemas} from './factory';
import './crud/crud';
import './filter';
import './form/form';
import './crud/table/table';
import './crud/table/simple-table';
import './crud/grid/grid';
import './crud/list/list';
import './page/page';
import './action';
import './button-group';
import './dropdown-button';
import './plain';
import './tpl';
import './tabs';
import './grid';
import './hbox';
import './panel';
import './wrapper';
import './dialog/dialog';
import './iframe';
import './nav/nav';
import './wizard/wizard';
import './tasks/tasks';

import './crud/field/plain';
import './crud/field/html';
import './crud/field/date';
import './crud/field/progress';
import './crud/field/image';
import './crud/field/status';
import './crud/field/json';
import './service/service';
import './chart/chart';
import './video/video';

export {
  render,
  renderChildren
};

export const reducer = combineReducers(getReducers());
export const schemas = getSchemas();
export  default render;
